﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace 畜牧业审核程序国产.Models.RagModel
{
    internal class ChatMessageFromDB
    {
        public string Role { get; set; } // "user" 或 "assistant"
        public string Content { get; set; }
        public string Timestamp { get; set; }
        public string? SeesionId { get; set; }
        public string? DocReferences { get; set; }
        public ChatMessageFromDB()
        {
            
        }
        public ChatMessageFromDB(string role,string content,string timestamp,string? sessionId,string? docReferences)
        {
            Role = role;
            Content = content;
            Timestamp = timestamp;
            this.SeesionId = sessionId;
            this.DocReferences = docReferences;
        }
    }
}
